wpdFormAttr\Form D

Total Complexity 449
Dependencies 7
Dependents 3
Total lines 2,003
Lines of code 1,876
Logical lines of code 908
Comment lines 6
Methods 64
Properties 17

Methods 64

Method Rating Maintainability Complexity Lines of code
renderFormStructure()
D
12
43 543
validateGeneralOptions()
C
32 29 105
getPostRatingHtml()
B
38 24 58
getRatingMetaHtml()
B
37 21 70
isUserCanComment()
B
44 23 36
renderTextEditorButtons()
B
32 17 123
renderFrontForm()
B
36 17 79
savePostRatingMeta()
B
43 16 46
getThemes()
A
44 15 45
saveCommentMeta()
A
45 14 36
getSingleRatingHtml()
A
43 12 45
isShowSubscriptionBar()
A
52 13 22
isUserCanSeeComments()
A
52 12 22
renderTextEditor()
A
44 10 46
saveFormPostRel()
A
50 10 27
getRatingSchema()
A
51 10 23
_renderFrontCommentMetaHtml()
A
52 10 21
setFormID()
A
50 9 29
initFormFields()
A
53 9 22
displayRatingMeta()
A
54 9 21
renderEditFrontCommentForm()
A
45 7 36
theFormListData()
S
59 8 12
saveFormContentTypeRel()
S
54 7 20
initFormMeta()
S
59 7 14
getTheme()
S
51 6 27
renderFrontCommentMetaHtml()
S
58 6 15
displayRatingMetaBeforeCommentForm()
S
59 6 14
cleanUnusedData()
S
58 5 16
renderEditAdminCommentForm()
S
51 4 30
showRecaptcha()
S
76 6 3
validateFields()
S
58 4 15
getLayouts()
S
59 4 14
getDefaultTheme()
S
59 4 14
updateSeparateRatingMeta()
S
60 4 12
saveFormData()
S
58 3 15
defaultFieldsData()
S
47 1 43
getDefaultRoles()
S
62 3 12
validateFormStructure()
S
62 3 12
validateSubscribtionCaptcha()
S
70 3 6
getUserCanRateOnPost()
S
69 2 7
getHeaderTextSingle()
S
68 2 7
customFieldsExists()
S
76 2 4
getHeaderTextPlural()
S
68 2 7
transferJSData()
S
71 2 5
getLayout()
S
69 2 7
getEnableRateOnPost()
S
68 2 7
subscriptionBarAgreementLabel()
S
77 2 3
isShowSubscriptionBarAgreement()
S
75 2 4
getPostRatingTitle()
S
68 2 7
__construct()
S
61 1 13
validateDefaultEmail()
S
67 1 7
getCaptchaFied()
S
82 1 3
getCustomCSS()
S
79 1 3
getFormPostTypes()
S
82 1 3
getFormFields()
S
82 1 3
validateDefaultCaptcha()
S
75 1 4
validateDefaultWebsite()
S
71 1 5
resetData()
S
72 1 6
validateDefaultName()
S
71 1 5
getGeneralOptions()
S
82 1 3
getFormID()
S
82 1 3
getAllowedFieldsType()
S
81 1 3
getFormCustomFields()
S
82 1 3
getRatingsExists()
S
75 1 5